export const getFileUrl = name => {
  const url = new URL(`../assets/${name}`, import.meta.url).href

  return url
}
